var _EsdDynamicTransformationScript={};

var _EsdDynamicTransformationScriptNavBlock={};//定义区域跳转类 在最上面定义了哦
_EsdDynamicTransformationScriptNavBlock.key={};
_EsdDynamicTransformationScriptNavBlock.selector={};
_EsdDynamicTransformationScriptNavBlock.sIndex = -1;
_EsdDynamicTransformationScriptNavBlock.maxIndex = -1;
_EsdDynamicTransformationScriptNavBlock.minIndex = 0;
//快捷键定义区
_EsdDynamicTransformationScriptNavBlock.key.top="alt+ctrl+shift+t"//(top)
_EsdDynamicTransformationScriptNavBlock.key.footer="alt+ctrl+shift+j"//(footer)
_EsdDynamicTransformationScriptNavBlock.key.main="alt+ctrl+shift+m"//(main)
_EsdDynamicTransformationScriptNavBlock.key.left="alt+ctrl+shift+l"//(left)
_EsdDynamicTransformationScriptNavBlock.key.right="alt+ctrl+shift+r"//(right)
_EsdDynamicTransformationScriptNavBlock.key.content="alt+ctrl+shift+c"//(content)
_EsdDynamicTransformationScriptNavBlock.key.down="alt+ctrl+shift+d"//(down)
_EsdDynamicTransformationScriptNavBlock.key.up="alt+ctrl+shift+u"//(up);

//定义跳转 使用jquery选择器语法	此部分选择器  其中main,left,right和content在各个页面的if判断语句中重写了
_EsdDynamicTransformationScriptNavBlock.selector.top=".logo_box";
_EsdDynamicTransformationScriptNavBlock.selector.footer=".bottom_box";
// _EsdDynamicTransformationScriptNavBlock.selector.main=".nr_box";
// _EsdDynamicTransformationScriptNavBlock.selector.left=".index_new";
// _EsdDynamicTransformationScriptNavBlock.selector.right=".index_zwgk_box";
// _EsdDynamicTransformationScriptNavBlock.selector.content="";

$("*").focus(function(){
	$(this).css({"outline":"2px dashed red"});
});
$("*").blur(function(){
	$(this).css({"outline":"0px black"});
});
//保证所有a标签都有href
$("a").each(function(){

	var aHref = this.href;
	if( aHref=="" || aHref==undefined ){
			$(this).attr("href","javascript:void(0)");
	}
	
	//给a标签加title
	var aTitle = this.title;
	var aText = this.text;
	
	if( aTitle=="" || aTitle==undefined ){
		if( aText!="" || aText!=undefined ){
			$(this).attr("title",$.trim(aText));
		}
	}
	
});

//img
$("img").each(function(){
	//给图片加alt/title
	var imgAlt = this.alt,
		imgTitle = this.title,
		imgSrc = this.src,
		parentText = this.parentElement.text;

	if(this.alt=="" || this.alt==undefined){
		if(imgTitle!="" && imgTitle!=undefined){
			$(this).attr("alt",imgTitle);
		}else if(parentText!="" && parentText!=undefined){
			$(this).attr("alt",parentText);
		}
	}
	if(this.title=="" || this.title==undefined){
		if(imgAlt!="" && imgAlt!=undefined){
			$(this).attr("title",imgAlt);
		}else if(parentText!="" && parentText!=undefined){
			$(this).attr("title",parentText);
		}
	}
})

$("img").each(function(){
	if( (this.alt=="" && this.title=="")||(this.alt==undefined && this.title==undefined) ){
		$(this).attr("title","图片");
		$(this).attr("alt","图片");
	}
})

// 当前url
_EsdDynamicTransformationScript.currentUrl = window.location.href;

// ***************	网站上部/导航栏等公共部分 begin	***************	//
	// input type为text,password类型的输入框处理
	// 预先定义几个常用的input title值
	_EsdDynamicTransformationScript.placeholderKeyword='请输入关键搜索词';
	_EsdDynamicTransformationScript.placeholderUsername='用户名';
	_EsdDynamicTransformationScript.placeholderPassword='密码';
	_EsdDynamicTransformationScript.placeholderSpecialText1='您对全省城市管理效能提升工作有何意见或建议';
	// 搜索框 对象
	_EsdDynamicTransformationScript.inputObject = $('input[name="searchword"]');
	$(_EsdDynamicTransformationScript.inputObject).attr({'title':_EsdDynamicTransformationScript.placeholderKeyword, 'placeholder':_EsdDynamicTransformationScript.placeholderKeyword});
// ***************	网站上部/导航栏等公共部分 end	***************	//


// ***************	网站首页 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://agri.jl.gov.cn/' || 
	_EsdDynamicTransformationScript.currentUrl == 'http://agri.jl.gov.cn/#'){

	// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
	_EsdDynamicTransformationScriptNavBlock.selector.main=".nr_box";
	_EsdDynamicTransformationScriptNavBlock.selector.left=".index_new";
	_EsdDynamicTransformationScriptNavBlock.selector.right=".index_zwgk_box";
	_EsdDynamicTransformationScriptNavBlock.selector.content=".nr_box";
	// 0. 幻灯片
	/*	轮播,右下角原点--鼠标点击触发情况
		轮播：只获取轮播中一个a标签。
		以文字a标签为主，图片a标签尽量不要，title不稳定
	*/
	//轮播前的标签
	_EsdDynamicTransformationScript.esdRotationAgriPartOneFrontNum1 = $('.ss_sr:first');

	//文字A标签
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum1 = $('.index_new_box li:eq(1) a:eq(1)');
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum2 = $('.index_new_box li:eq(2) a:eq(1)');
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum3 = $('.index_new_box li:eq(3) a:eq(1)');
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum4 = $('.index_new_box li:eq(4) a:eq(1)');
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum5 = $('.index_new_more a:first');	// 更多按钮
	//	alert('_EsdDynamicTransformationScript.esdRotationAgriPartOneANum1: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneANum1 + '\n' + '_EsdDynamicTransformationScript.esdRotationAgriPartOneANum2: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneANum2 + '\n' + '_EsdDynamicTransformationScript.esdRotationAgriPartOneANum3: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneANum3 + '\n' + '_EsdDynamicTransformationScript.esdRotationAgriPartOneANum4: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneANum4 + '\n' + '_EsdDynamicTransformationScript.esdRotationAgriPartOneANum5: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneANum5);

	//原点
	_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum1 = $('.index_new_dbox li:eq(0)');
	_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum2 = $('.index_new_dbox li:eq(1)');
	_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum3 = $('.index_new_dbox li:eq(2)');
	_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum4 = $('.index_new_dbox li:eq(2)');
	_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum5 = $('.index_new_more a:first');// 更多按钮
	//	alert('_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum1: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum1 + '\n' + '_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum2: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum2 + '\n' + '_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum3: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum3 + '\n' + '_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum4: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum4 + '\n' + '_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum5);

	//轮播后的标签
	_EsdDynamicTransformationScript.esdRotationAgriPartOneAfterNum1 = $('.index_zwgk_left01 dt p a:eq(0)');
	//	alert('_EsdDynamicTransformationScript.esdRotationAgriPartOneAfterNum1: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneAfterNum1);
	//轮播前的焦点
	_EsdDynamicTransformationScript.esdRotationAgriPartOneFrontNum1.focus(function (e) {
		$(document).bind("keydown.keydown_0_0", function (e) {
			//	console.log('_EsdDynamicTransformationScript.esdRotationAgriPartOneFrontNum1.focus(), e.keyCode= ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum1.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdRotationAgriPartOneFrontNum1.blur(function () {
		$(document).unbind("keydown.keydown_0_0");
	});

	// 轮播图 第1个tab
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum1.focus(function (e) {
		
		$(document).bind("keydown.keydown_0_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum2.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum2.focus();
				//	console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum1.blur(function () {
		$(document).unbind("keydown.keydown_0_1");
	});

	// 轮播图 第2个tab
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum2.focus(function (e) {
		$(document).bind("keydown.keydown_0_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum1.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum3.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum3.focus();
				//	console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum2.blur(function () {
		$(document).unbind("keydown.keydown_0_2");
	});

	// 轮播图 第3个tab
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum3.focus(function (e) {
		$(document).bind("keydown.keydown_0_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum2.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum2.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum4.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum4.focus();
				//	console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum3.blur(function () {
		$(document).unbind("keydown.keydown_0_3");
	});

	// 轮播图 第4个tab
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum4.focus(function (e) {
		$(document).bind("keydown.keydown_0_4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum3.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum3.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum5.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum5.focus();
				//	console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum4.blur(function () {
		$(document).unbind("keydown.keydown_0_4");
	});

	// 轮播图 第5个tab
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum5.focus(function (e) {
		$(document).bind("keydown.keydown_0_5", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum4.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum4.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdRotationAgriPartOneAfterNum1.focus();
				//	console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum5.blur(function () {
		$(document).unbind("keydown.keydown_0_5");
	});


	// 1. 公开目录/年度报告  选项卡  ------------ begin
	// 各个选项 标题
	_EsdDynamicTransformationScript.esdTabAgriPartOneth1Title = $('.index_zwgk_left01 dt p a:eq(0)');
	_EsdDynamicTransformationScript.esdTabAgriPartOneth2Title = $('.index_zwgk_left01 dt p a:eq(1)');
	_EsdDynamicTransformationScript.esdTabAgriPartOneth3Title = $('.index_zwgk_left01 dt p a:eq(2)');
	_EsdDynamicTransformationScript.esdTabAgriPartOneth4Title = $('.index_zwgk_left01 dt p a:eq(3)');
	_EsdDynamicTransformationScript.esdTabAgriPartOneth5Title = $('.index_zwgk_left01 dt p a:eq(4)');
	_EsdDynamicTransformationScript.esdTabAgriPartOnethZiXunTitle = $('.index_zwgk_right a:first');
	//	alert('_EsdDynamicTransformationScript.esdTabAgriPartOneth1Title: ' + _EsdDynamicTransformationScript.esdTabAgriPartOneth1Title + ', _EsdDynamicTransformationScript.esdTabAgriPartOneth2Title: ' + _EsdDynamicTransformationScript.esdTabAgriPartOneth2Title);
	// 各个选项 列表第一个内容
	_EsdDynamicTransformationScript.esdTabAgriPartOneth1ContentFirst = $('#pageListTable a:first');
	_EsdDynamicTransformationScript.esdTabAgriPartOneth4ContentFirst = $('#pageListTable').next().find('a:first');
	//	alert('_EsdDynamicTransformationScript.esdTabAgriPartOneth1ContentFirst: ' + _EsdDynamicTransformationScript.esdTabAgriPartOneth1ContentFirst +', _EsdDynamicTransformationScript.esdTabAgriPartOneth4ContentFirst: ' + _EsdDynamicTransformationScript.esdTabAgriPartOneth4ContentFirst);

	// 各个选项中 列表最后一个内容
	_EsdDynamicTransformationScript.esdTabAgriPartOneth1ContentLast = $('#pageListTable a:last');
	_EsdDynamicTransformationScript.esdTabAgriPartOneth4ContentLast = $('#pageListTable').next().find('a:last');
	// 	alert('_EsdDynamicTransformationScript.esdTabAgriPartOneth1ContentLast: ' + _EsdDynamicTransformationScript.esdTabAgriPartOneth1ContentLast +', _EsdDynamicTransformationScript.esdTabAgriPartOneth4ContentLast: ' + _EsdDynamicTransformationScript.esdTabAgriPartOneth4ContentLast);

	// 第一块 公开目录 tab title跳转
	_EsdDynamicTransformationScript.esdTabAgriPartOneth1Title.focus(function (e) {
	//	e = $(this).mouseover();
	_EsdDynamicTransformationScript.esdTabAgriPartOneth1ContentFirst.parent().parent().show();
	_EsdDynamicTransformationScript.esdTabAgriPartOneth4ContentFirst.parent().parent().hide();
		$(document).bind('keydown.keydown_1_1', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartOneth1ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgriPartOneth1Title.blur(function () {
		$(document).unbind('keydown.keydown_1_1');
	});
	// 1. 公开目录/年度报告  选项卡 第1个tab - 列表 第一项
	_EsdDynamicTransformationScript.esdTabAgriPartOneth1ContentFirst.focus(function () {
		$(document).bind('keydown.keydown_1_1_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartOneth1Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartOneth1ContentFirst.blur(function () {
		$(document).unbind('keydown.keydown_1_1_1');
	});
	// 第一块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabAgriPartOneth1ContentLast.focus(function () {
		$(document).bind('keydown.keydown_1_1_n', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartOneth2Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartOneth1ContentLast.blur(function () {
		$(document).unbind('keydown.keydown_1_1_n');
	});

	// 1. 公开目录/年度报告  选项卡 第4个tab  年度报告 tab title跳转
	_EsdDynamicTransformationScript.esdTabAgriPartOneth4Title.focus(function (e) {
	//	e = $(this).mouseover();
		_EsdDynamicTransformationScript.esdTabAgriPartOneth1ContentFirst.parent().parent().hide();
		_EsdDynamicTransformationScript.esdTabAgriPartOneth4ContentFirst.parent().parent().show();
		$(document).bind('keydown.keydown_1_4', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartOneth4ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgriPartOneth4Title.blur(function () {
		$(document).unbind('keydown.keydown_1_4');
	});
	// 第四块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabAgriPartOneth4ContentFirst.focus(function () {
		$(document).bind('keydown.keydown_1_4_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartOneth4ContentFirst.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartOneth4ContentFirst.blur(function () {
		$(document).unbind('keydown.keydown_1_4_1');
	});
	// 第四块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabAgriPartOneth4ContentLast.focus(function () {
		$(document).bind('keydown.keydown_1_4_n', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartOneth5Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartOneth4ContentLast.blur(function () {
		$(document).unbind('keydown.keydown_1_4_n');
	});

	// 1. 公开目录/年度报告  选项卡 第5个tab 依申请公开 tab title跳转
	_EsdDynamicTransformationScript.esdTabAgriPartOneth5Title.focus(function (e) {
		$(document).bind('keydown.keydown_1_5', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartOnethZiXunTitle.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgriPartOneth5Title.blur(function () {
		$(document).unbind('keydown.keydown_1_5');
	});
	// 1. 公开目录/年度报告  选项卡  ------------ end


	// 2. 行业要闻/重要信息转载/全国信息联播  选项卡  ------------ begin
	// 各个选项 标题
	_EsdDynamicTransformationScript.esdTabAgriPartSecond1Title = $('.index_new_01 dl dt a:eq(0)');	//  行业要闻title
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2Title = $('.index_new_01 dl dt a:eq(1)');	// iframe 未跨域	重要信息转载title	
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2TitleSub1Title = $('.index_xxzz h3:eq(0) a:first');	//	第二个选项卡下第1个子选项卡	国务院
	_EsdDynamicTransformationScript.esdTabAgriPartSecond3TitleSub2Title = $('.index_xxzz h3:eq(0) a:last');;	//	第二个选项卡下第2个子选项卡	省政府
	_EsdDynamicTransformationScript.esdTabAgriPartSecond3Title = $('.index_new_01 dl dt a:eq(2)');	// iframe	跨域	全国信息联播title
	/*	alert('_EsdDynamicTransformationScript.esdTabAgriPartSecond1Title: ' + $(_EsdDynamicTransformationScript.esdTabAgriPartSecond1Title).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabAgriPartSecond2Title: ' + $(_EsdDynamicTransformationScript.esdTabAgriPartSecond2Title).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabAgriPartSecond2TitleSub1Title: ' + $(_EsdDynamicTransformationScript.esdTabAgriPartSecond2TitleSub1Title).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabAgriPartSecond3TitleSub2Title: ' + $(_EsdDynamicTransformationScript.esdTabAgriPartSecond3TitleSub2Title).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabAgriPartSecond3Title: ' + $(_EsdDynamicTransformationScript.esdTabAgriPartSecond3Title).html()
		);	*/
	// 各个选项 列表第一个内容
	_EsdDynamicTransformationScript.esdTabAgriPartSecond1ContentFirst = $('.index_new_01 dl dd:eq(0) a:first');
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub1ContentFirst = $('iframe:eq(0)').contents().find('#testUl a:first');	//	第二个选项卡下第1个子选项卡 国务院下面列表 第一项
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub2ContentFirst = $('iframe:eq(1)').contents().find('#testUl a:first');	//	第二个选项卡下第2个子选项卡 省政府下面列表 第一项
	_EsdDynamicTransformationScript.esdTabAgriPartSecond3ContentFirst = $('.index_new_01 dl dd:eq(2) a:first');
	/*	alert('_EsdDynamicTransformationScript.esdTabAgriPartSecond1ContentFirst: ' + $(_EsdDynamicTransformationScript.esdTabAgriPartSecond1ContentFirst).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub1ContentFirst: ' + $(_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub1ContentFirst).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub2ContentFirst: ' + $(_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub2ContentFirst).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabAgriPartSecond3ContentFirst: ' + $(_EsdDynamicTransformationScript.esdTabAgriPartSecond3ContentFirst).html()
		);	*/

	// 各个选项中 列表最后一个内容
	_EsdDynamicTransformationScript.esdTabAgriPartSecond1ContentLast = $('.index_new_01 dl dd:eq(0) a:last');
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub1ContentLast = $('iframe:eq(0)').contents().find('#testUl a:last');	//	第二个选项卡下第1个子选项卡 国务院下面列表 最后一项
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub2ContentLast = $('iframe:eq(1)').contents().find('#testUl a:last');	//	第二个选项卡下第2个子选项卡 省政府下面列表 最后一项
	_EsdDynamicTransformationScript.esdTabAgriPartSecond3ContentLast = $('.index_new_01 dl dd:eq(2) a:last');
	/*	alert('_EsdDynamicTransformationScript.esdTabAgriPartSecond1ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabAgriPartSecond1ContentLast).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub1ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub1ContentLast).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub2ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub2ContentLast).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabAgriPartSecond3ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabAgriPartSecond3ContentLast).html()
		);	*/
	// 2. 行业要闻/重要信息转载/全国信息联播  选项卡 第1个tab 行业要闻 tab title跳转
	_EsdDynamicTransformationScript.esdTabAgriPartSecond1Title.focus(function (e) {
		e = $(this).mouseover();
	//	_EsdDynamicTransformationScript.esdTabAgriPartSecond1ContentFirst.parent().parent().show();
	//	_EsdDynamicTransformationScript.esdTabAgriPartSecond4ContentFirst.parent().parent().hide();
		$(document).bind('keydown.keydown_2_1', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartSecond1ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgriPartSecond1Title.blur(function () {
		$(document).unbind('keydown.keydown_2_1');
	});
	// 第一块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabAgriPartSecond1ContentFirst.focus(function () {
		$(document).bind('keydown.keydown_2_1_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartSecond1Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartSecond1ContentFirst.blur(function () {
		$(document).unbind('keydown.keydown_2_1_1');
	});
	// 第一块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabAgriPartSecond1ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabAgriPartSecond1ContentLast.focus');
		$(document).bind('keydown.keydown_2_1_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartSecond2Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartSecond1ContentLast.blur(function () {
		$(document).unbind('keydown.keydown_2_1_n');
	});

	// 2. 行业要闻/重要信息转载/全国信息联播  选项卡 第2个tab 重要信息转载 tab title跳转
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2Title.focus(function (e) {
		e = $(this).mouseover();
		$(document).bind('keydown.keydown_2_2', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub1ContentFirst.focus();
			// 先暂时跳到第3个title上
			//	_EsdDynamicTransformationScript.esdTabAgriPartSecond3Title.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2Title.blur(function () {
		$(document).unbind('keydown.keydown_2_2');
	});
	// 重要信息转载 tab 下第1个子tab 国务院 title
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2TitleSub1Title.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind('keydown.keydown_2_2_sub1', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub1ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2TitleSub1Title.blur(function () {
		$(this).unbind('keydown.keydown_2_2_sub1');
	});
	// 重要信息转载 tab 下第1个子tab 国务院 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub1ContentFirst.focus(function () {
		$(this).bind('keydown.keydown_2_2_sub1_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartSecond2TitleSub1Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub1ContentFirst.blur(function () {
		$(this).unbind('keydown.keydown_2_2_sub1_1');
	});
	// 重要信息转载 tab 下第1个子tab 国务院 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub1ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub1ContentLast.focus');
		$(this).bind('keydown.keydown_2_2_sub1_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartSecond3TitleSub2Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub1ContentLast.blur(function () {
		$(this).unbind('keydown.keydown_2_2_sub1_n');
	});


	// 重要信息转载 tab 下第2个子tab 省政府 title
	_EsdDynamicTransformationScript.esdTabAgriPartSecond3TitleSub2Title.focus(function (e) {
		e = $(this).mouseover();
		$(this).bind('keydown.keydown_2_2_sub2', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub2ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgriPartSecond3TitleSub2Title.blur(function () {
		$(this).unbind('keydown.keydown_2_2_sub2');
	});
	// 重要信息转载 tab 下第2个子tab 省政府 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub2ContentFirst.focus(function () {
		$(this).bind('keydown.keydown_2_2_sub2_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartSecond3TitleSub2Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub2ContentFirst.blur(function () {
		$(this).unbind('keydown.keydown_2_2_sub2_1');
	});
	// 重要信息转载 tab 下第2个子tab 省政府 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub2ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub2ContentLast.focus');
		$(this).bind('keydown.keydown_2_2_sub2_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartSecond3Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub2ContentLast.blur(function () {
		$(this).unbind('keydown.keydown_2_2_sub2_n');
	});



	// 2. 行业要闻/重要信息转载/全国信息联播  选项卡 第3个tab 全国信息联播
	_EsdDynamicTransformationScript.esdTabAgriPartSecond3Title.focus(function (e) {
		e = $(this).mouseover();
	//	_EsdDynamicTransformationScript.esdTabAgriPartSecond1ContentFirst.parent().parent().hide();
	//	_EsdDynamicTransformationScript.esdTabAgriPartSecond2ContentFirstSub1ContentFirst.parent().parent().show();
		$(document).bind('keydown.keydown_2_2', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
			// 先暂时跳到下一个选项卡组的第一个title上，因为该tab下面的内容跨域
				_EsdDynamicTransformationScript.esdTabAgriPartThird1Title.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgriPartSecond3Title.blur(function () {
		$(document).unbind('keydown.keydown_2_2');
	});

	// 2. 行业要闻/重要信息转载/全国信息联播  选项卡  ------------ end


	// 3. 政策法规/政策解读/通知公告/财务公开/发展规划  选项卡  ------------ end
	// 各个选项 标题
	_EsdDynamicTransformationScript.esdTabAgriPartThird1Title = $('.index_new_02 dl dt a:eq(0)');
	_EsdDynamicTransformationScript.esdTabAgriPartThird2Title = $('.index_new_02 dl dt a:eq(1)');
	_EsdDynamicTransformationScript.esdTabAgriPartThird3Title = $('.index_new_02 dl dt a:eq(2)');
	_EsdDynamicTransformationScript.esdTabAgriPartThird4Title = $('.index_new_02 dl dt a:eq(3)');
	_EsdDynamicTransformationScript.esdTabAgriPartThird5Title = $('.index_new_02 dl dt a:eq(4)');
	// 	alert('_EsdDynamicTransformationScript.esdTabAgriPartThird1Title: ' + _EsdDynamicTransformationScript.esdTabAgriPartThird1Title + ', _EsdDynamicTransformationScript.esdTabAgriPartThird2Title: ' + _EsdDynamicTransformationScript.esdTabAgriPartThird2Title + ', _EsdDynamicTransformationScript.esdTabAgriPartThird3Title: ' + _EsdDynamicTransformationScript.esdTabAgriPartThird3Title + ', _EsdDynamicTransformationScript.esdTabAgriPartThird4Title: ' + _EsdDynamicTransformationScript.esdTabAgriPartThird4Title + ', _EsdDynamicTransformationScript.esdTabAgriPartThird5Title: ' + _EsdDynamicTransformationScript.esdTabAgriPartThird5Title);

	// 各个选项 列表第一个内容
	_EsdDynamicTransformationScript.esdTabAgriPartThird1ContentFirst = $('.index_new_02 dl dd:first a:first');
	_EsdDynamicTransformationScript.esdTabAgriPartThird2ContentFirst = $('.index_new_02 dl dd:eq(1) a:first');
	_EsdDynamicTransformationScript.esdTabAgriPartThird3ContentFirst = $('.index_new_02 dl dd:eq(2) a:first');
	_EsdDynamicTransformationScript.esdTabAgriPartThird4ContentFirst = $('.index_new_02 dl dd:eq(3) a:first');
	_EsdDynamicTransformationScript.esdTabAgriPartThird5ContentFirst = $('.index_new_02 dl dd:eq(4) a:first');
	//	alert('_EsdDynamicTransformationScript.esdTabAgriPartThird1ContentFirst: ' + _EsdDynamicTransformationScript.esdTabAgriPartThird1ContentFirst +', _EsdDynamicTransformationScript.esdTabAgriPartThird2ContentFirst: ' + _EsdDynamicTransformationScript.esdTabAgriPartThird2ContentFirst +', _EsdDynamicTransformationScript.esdTabAgriPartThird3ContentFirst: ' + _EsdDynamicTransformationScript.esdTabAgriPartThird3ContentFirst +', _EsdDynamicTransformationScript.esdTabAgriPartThird4ContentFirst: ' + _EsdDynamicTransformationScript.esdTabAgriPartThird4ContentFirst +', _EsdDynamicTransformationScript.esdTabAgriPartThird5ContentFirst: ' + _EsdDynamicTransformationScript.esdTabAgriPartThird5ContentFirst);

		
	// 各个选项中 列表最后一个内容
	_EsdDynamicTransformationScript.esdTabAgriPartThird1ContentLast = $('.index_new_02 dl dd:first a:last');
	_EsdDynamicTransformationScript.esdTabAgriPartThird2ContentLast = $('.index_new_02 dl dd:eq(1) a:last');
	_EsdDynamicTransformationScript.esdTabAgriPartThird3ContentLast = $('.index_new_02 dl dd:eq(2) a:last');
	_EsdDynamicTransformationScript.esdTabAgriPartThird4ContentLast = $('.index_new_02 dl dd:eq(3) a:last');
	_EsdDynamicTransformationScript.esdTabAgriPartThird5ContentLast = $('.index_new_02 dl dd:eq(4) a:last');
	//	alert('_EsdDynamicTransformationScript.esdTabAgriPartThird1ContentLast: ' + _EsdDynamicTransformationScript.esdTabAgriPartThird1ContentLast +', _EsdDynamicTransformationScript.esdTabAgriPartThird2ContentLast: ' + _EsdDynamicTransformationScript.esdTabAgriPartThird2ContentLast +', _EsdDynamicTransformationScript.esdTabAgriPartThird3ContentLast: ' + _EsdDynamicTransformationScript.esdTabAgriPartThird3ContentLast +', _EsdDynamicTransformationScript.esdTabAgriPartThird4ContentLast: ' + _EsdDynamicTransformationScript.esdTabAgriPartThird4ContentLast +', _EsdDynamicTransformationScript.esdTabAgriPartThird5ContentLast: ' + _EsdDynamicTransformationScript.esdTabAgriPartThird5ContentLast);

	// 第一块 政策法规 tab title跳转
	_EsdDynamicTransformationScript.esdTabAgriPartThird1Title.focus(function (e) {
	//	e = $(this).mouseover();
		$('.index_new_02 dl dd').hide();
		$('.index_new_02 dl dd:eq(0)').show();
		$(document).bind('keydown.keydown_3_1', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartThird1ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgriPartThird1Title.blur(function () {
		$(document).unbind('keydown.keydown_3_1');
	});
	// 第一块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabAgriPartThird1ContentFirst.focus(function () {
		$(document).bind('keydown.keydown_3_1_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartThird1Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartThird1ContentFirst.blur(function () {
		$(document).unbind('keydown.keydown_3_1_1');
	});
	// 第一块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabAgriPartThird1ContentLast.focus(function () {
		$(document).bind('keydown.keydown_3_1_n', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartThird2Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartThird1ContentLast.blur(function () {
		$(document).unbind('keydown.keydown_3_1_n');
	});

	// 第二块 政策解读 tab title跳转
	_EsdDynamicTransformationScript.esdTabAgriPartThird2Title.focus(function (e) {
		//	e = $(this).mouseover();
		$('.index_new_02 dl dd').hide();
		$('.index_new_02 dl dd:eq(1)').show();
		$(document).bind('keydown.keydown_3_2', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$('.index_new_02 dl dd').hide();
				$('.index_new_02 dl dd:eq(0)').show();
				_EsdDynamicTransformationScript.esdTabAgriPartThird1ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartThird2ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgriPartThird2Title.blur(function () {
		$(document).unbind('keydown.keydown_3_2');
	});
	// 第二块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabAgriPartThird2ContentFirst.focus(function () {
		$(document).bind('keydown.keydown_3_2_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartThird2Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartThird2ContentFirst.blur(function () {
		$(document).unbind('keydown.keydown_3_2_1');
	});
	// 第二块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabAgriPartThird2ContentLast.focus(function () {
		$(document).bind('keydown.keydown_3_2_n', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartThird3Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartThird2ContentLast.blur(function () {
		$(document).unbind('keydown.keydown_3_2_n');
	});

	// 第三块 通知公告 tab title跳转
	_EsdDynamicTransformationScript.esdTabAgriPartThird3Title.focus(function (e) {
		//	e = $(this).mouseover();
		$('.index_new_02 dl dd').hide();
		$('.index_new_02 dl dd:eq(2)').show();
		$(document).bind('keydown.keydown_3_3', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$('.index_new_02 dl dd').hide();
				$('.index_new_02 dl dd:eq(1)').show();
				_EsdDynamicTransformationScript.esdTabAgriPartThird2ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartThird3ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgriPartThird3Title.blur(function () {
		$(document).unbind('keydown.keydown_3_3');
	});
	// 第三块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabAgriPartThird3ContentFirst.focus(function () {
		$(document).bind('keydown.keydown_3_3_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartThird3Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartThird3ContentFirst.blur(function () {
		$(document).unbind('keydown.keydown_3_3_1');
	});
	// 第三块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabAgriPartThird3ContentLast.focus(function () {
		$(document).bind('keydown.keydown_3_3_n', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartThird4Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartThird3ContentLast.blur(function () {
		$(document).unbind('keydown.keydown_3_3_n');
	});

	// 第四块 财务公开 tab title跳转
	_EsdDynamicTransformationScript.esdTabAgriPartThird4Title.focus(function (e) {
		//	e = $(this).mouseover();
		$('.index_new_02 dl dd').hide();
		$('.index_new_02 dl dd:eq(3)').show();
		$(document).bind('keydown.keydown_3_4', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$('.index_new_02 dl dd').hide();
				$('.index_new_02 dl dd:eq(2)').show();
				_EsdDynamicTransformationScript.esdTabAgriPartThird3ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartThird4ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgriPartThird4Title.blur(function () {
		$(document).unbind('keydown.keydown_3_4');
	});
	// 第四块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabAgriPartThird4ContentFirst.focus(function () {
		$(document).bind('keydown.keydown_3_4_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartThird4Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartThird4ContentFirst.blur(function () {
		$(document).unbind('keydown.keydown_3_4_1');
	});
	// 第四块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabAgriPartThird4ContentLast.focus(function () {
		$(document).bind('keydown.keydown_3_4_n', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartThird5Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartThird4ContentLast.blur(function () {
		$(document).unbind('keydown.keydown_3_4_n');
	});

		// 第五块 发展规划 tab title跳转
	_EsdDynamicTransformationScript.esdTabAgriPartThird5Title.focus(function (e) {
		//	e = $(this).mouseover();
		$('.index_new_02 dl dd').hide();
		$('.index_new_02 dl dd:eq(4)').show();
		$(document).bind('keydown.keydown_3_4', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$('.index_new_02 dl dd').hide();
				$('.index_new_02 dl dd:eq(3)').show();
				_EsdDynamicTransformationScript.esdTabAgriPartThird4ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartThird5ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgriPartThird5Title.blur(function () {
		$(document).unbind('keydown.keydown_3_4');
	});
	// 第五块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabAgriPartThird5ContentFirst.focus(function () {
		$(document).bind('keydown.keydown_3_4_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartThird5Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartThird5ContentFirst.blur(function () {
		$(document).unbind('keydown.keydown_3_4_1');
	});

	// 3. 政策法规/政策解读/通知公告/财务公开/发展规划  选项卡  ------------ end


		// 4. 在线访谈/意见征集/咨询热线  选项卡  ------------ end
	// 各个选项 标题
	_EsdDynamicTransformationScript.esdTabAgriPartForth1Title = $('.index_hdjl_new dl dt a:eq(0)');
	_EsdDynamicTransformationScript.esdTabAgriPartForth2Title = $('.index_hdjl_new dl dt a:eq(1)');
	_EsdDynamicTransformationScript.esdTabAgriPartForth3Title = $('.index_hdjl_new dl dt a:eq(2)');
	// 	alert('_EsdDynamicTransformationScript.esdTabAgriPartForth1Title: ' + _EsdDynamicTransformationScript.esdTabAgriPartForth1Title + ', _EsdDynamicTransformationScript.esdTabAgriPartForth2Title: ' + _EsdDynamicTransformationScript.esdTabAgriPartForth2Title + ', _EsdDynamicTransformationScript.esdTabAgriPartForth3Title: ' + _EsdDynamicTransformationScript.esdTabAgriPartForth3Title);

	// 各个选项 列表第一个内容
	_EsdDynamicTransformationScript.esdTabAgriPartForth1ContentFirst = $('.index_hdjl_new dl dd:first a:first');
	_EsdDynamicTransformationScript.esdTabAgriPartForth2ContentFirst = $('.index_hdjl_new dl dd:eq(1) a:first');
	//	_EsdDynamicTransformationScript.esdTabAgriPartForth3ContentFirst = $('.index_hdjl_new dl dd:eq(2) a:first');
	//	alert('_EsdDynamicTransformationScript.esdTabAgriPartForth1ContentFirst: ' + _EsdDynamicTransformationScript.esdTabAgriPartForth1ContentFirst +', _EsdDynamicTransformationScript.esdTabAgriPartForth2ContentFirst: ' + _EsdDynamicTransformationScript.esdTabAgriPartForth2ContentFirst +', _EsdDynamicTransformationScript.esdTabAgriPartForth3ContentFirst: ' + _EsdDynamicTransformationScript.esdTabAgriPartForth3ContentFirst);

		
	// 各个选项中 列表最后一个内容
	_EsdDynamicTransformationScript.esdTabAgriPartForth1ContentLast = $('.index_hdjl_new dl dd:first a:last');
	_EsdDynamicTransformationScript.esdTabAgriPartForth2ContentLast = $('.index_hdjl_new dl dd:eq(1) a:last');
	//	_EsdDynamicTransformationScript.esdTabAgriPartForth3ContentLast = $('.index_hdjl_new dl dd:eq(2) a:last');
	//	alert('_EsdDynamicTransformationScript.esdTabAgriPartForth1ContentLast: ' + _EsdDynamicTransformationScript.esdTabAgriPartForth1ContentLast +', _EsdDynamicTransformationScript.esdTabAgriPartForth2ContentLast: ' + _EsdDynamicTransformationScript.esdTabAgriPartForth2ContentLast +', _EsdDynamicTransformationScript.esdTabAgriPartForth3ContentLast: ' + _EsdDynamicTransformationScript.esdTabAgriPartForth3ContentLast);

	// 第一块 政策法规 tab title跳转
	_EsdDynamicTransformationScript.esdTabAgriPartForth1Title.focus(function (e) {
	//	e = $(this).mouseover();
		$('.index_hdjl_new dl dd').hide();
		$('.index_hdjl_new dl dd:eq(0)').show();
		$(document).bind('keydown.keydown_4_1', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartForth1ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgriPartForth1Title.blur(function () {
		$(document).unbind('keydown.keydown_4_1');
	});
	// 第一块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabAgriPartForth1ContentFirst.focus(function () {
		$(document).bind('keydown.keydown_4_1_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartForth1Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartForth1ContentFirst.blur(function () {
		$(document).unbind('keydown.keydown_4_1_1');
	});
	// 第一块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabAgriPartForth1ContentLast.focus(function () {
		$(document).bind('keydown.keydown_4_1_n', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartForth2Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartForth1ContentLast.blur(function () {
		$(document).unbind('keydown.keydown_4_1_n');
	});

	// 第二块 意见征集 tab title跳转
	_EsdDynamicTransformationScript.esdTabAgriPartForth2Title.focus(function (e) {
		//	e = $(this).mouseover();
		$('.index_hdjl_new dl dd').hide();
		$('.index_hdjl_new dl dd:eq(1)').show();
		$(document).bind('keydown.keydown_4_2', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$('.index_hdjl_new dl dd').hide();
				$('.index_hdjl_new dl dd:eq(0)').show();
				_EsdDynamicTransformationScript.esdTabAgriPartForth1ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartForth2ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgriPartForth2Title.blur(function () {
		$(document).unbind('keydown.keydown_4_2');
	});
	// 第二块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabAgriPartForth2ContentFirst.focus(function () {
		$(document).bind('keydown.keydown_4_2_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartForth2Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartForth2ContentFirst.blur(function () {
		$(document).unbind('keydown.keydown_4_2_1');
	});
	// 第二块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabAgriPartForth2ContentLast.focus(function () {
		$(document).bind('keydown.keydown_4_2_n', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgriPartForth3Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgriPartForth2ContentLast.blur(function () {
		$(document).unbind('keydown.keydown_4_2_n');
	});

	// 第四块 咨询热线 tab title跳转
	_EsdDynamicTransformationScript.esdTabAgriPartForth3Title.focus(function (e) {
		//	e = $(this).mouseover();
		$('.index_hdjl_new dl dd').hide();
		$('.index_hdjl_new dl dd:eq(2)').show();
		$(document).bind('keydown.keydown_4_3', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$('.index_hdjl_new dl dd').hide();
				$('.index_hdjl_new dl dd:eq(1)').show();
				_EsdDynamicTransformationScript.esdTabAgriPartForth2ContentLast.focus();
			}else if (e.keyCode == 9) {
				$('.bottom ul li select:eq(0)').focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgriPartForth3Title.blur(function () {
		$(document).unbind('keydown.keydown_4_3');
	});
}
// ***************	网站首页 end	***************	//


// ***************	二级页面之 政务公开 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://agri.jl.gov.cn/zwgk/'){

	// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
	_EsdDynamicTransformationScriptNavBlock.selector.main=".zly_2018_c";
	_EsdDynamicTransformationScriptNavBlock.selector.left="#d1";
	_EsdDynamicTransformationScriptNavBlock.selector.right="#do";
	_EsdDynamicTransformationScriptNavBlock.selector.content=".zly_2018_c";
	
	// 1. 政策/法规 ------------ begin
	// 各个选项 标题
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_Title = $('.index_hdjl_dq');
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_Title = $('.index_hdjl_dq').next();
/*	alert('_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_Title: ' + $(_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_Title).html() + '\n'
			+ '_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_Title: ' + $(_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_Title).html() + '\n'
	);	*/
	// 各个选项 列表第一个内容
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_ContentFirst = $('.index_hdjl_new dl dd:first a:first');
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_ContentFirst = $('.index_hdjl_new dl dd:eq(1) a:first');
/*	alert('_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_ContentFirst: ' + $(_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_ContentFirst).html() + '\n'
			+ '_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_ContentFirst: ' + $(_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_ContentFirst).html() + '\n'
	);	*/
		
	// 各个选项中 列表最后一个内容
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_ContentLast = $('.index_hdjl_new dl dd:first a:last');
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_ContentLast = $('.index_hdjl_new dl dd:eq(1) a:last');
/*	alert('_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_ContentLast).html() + '\n'
			+ '_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_ContentLast).html() + '\n'
	);	*/
	// 第一块 政策 tab title跳转
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_Title.focus(function (e) {
	//	e = $(this).mouseover();
		$('.index_hdjl_new dl dd').hide();
		$('.index_hdjl_new dl dd:eq(0)').show();
		$(document).bind('keydown.zwgk_1', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_Title.blur(function () {
		$(document).unbind('keydown.zwgk_1');
	});
	// 第一块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_ContentFirst.focus(function () {
		$(document).bind('keydown.zwgk_1_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_ContentFirst.blur(function () {
		$(document).unbind('keydown.zwgk_1_1');
	});
	// 第一块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_ContentLast.focus(function () {
		$(document).bind('keydown.zwgk_1_n', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_ContentLast.blur(function () {
		$(document).unbind('keydown.zwgk_1_n');
	});

	// 第二块 法规 tab title跳转
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_Title.focus(function (e) {
		//	e = $(this).mouseover();
		$('.index_hdjl_new dl dd').hide();
		$('.index_hdjl_new dl dd:eq(1)').show();
		$(document).bind('keydown.zwgk_2', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				$('.index_hdjl_new dl dd').hide();
				$('.index_hdjl_new dl dd:eq(0)').show();
				_EsdDynamicTransformationScript.esdTabAgri_zwgk_1_ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_ContentFirst.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_Title.blur(function () {
		$(document).unbind('keydown.zwgk_2');
	});
	// 第二块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_ContentFirst.focus(function () {
		$(document).bind('keydown.zwgk_2_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_ContentFirst.blur(function () {
		$(document).unbind('keydown.zwgk_2_1');
	});
/*	// 第二块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_ContentLast.focus(function () {
		$(document).bind('keydown.zwgk_2_n', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabAgri_zwgk_PartThird3Title.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabAgri_zwgk_2_ContentLast.blur(function () {
		$(document).unbind('keydown.zwgk_2_n');
	});	*/
	// 1. 政策/法规 ------------ end
	
}
// ***************	二级页面之 政务公开 end	***************	//

// ***************	二级页面之 新闻发布 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://agri.jl.gov.cn/xwfb/'){

	// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
	_EsdDynamicTransformationScriptNavBlock.selector.main=".zly_2018_c";
	_EsdDynamicTransformationScriptNavBlock.selector.left="#d1";
	_EsdDynamicTransformationScriptNavBlock.selector.right="#do";
	_EsdDynamicTransformationScriptNavBlock.selector.content=".zly_2018_c";
	
	// 0. 幻灯片
	/*	轮播,右下角原点--鼠标点击触发情况
		轮播：只获取轮播中一个a标签。
		以文字a标签为主，图片a标签尽量不要，title不稳定
	*/
	//轮播前的标签
	_EsdDynamicTransformationScript.esdRotationAgriPartOneFrontNum1 = $('.zly_2018_dafz a:last');

	//文字A标签
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum1 = $('.index_new_box li:eq(1) a:eq(1)');
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum2 = $('.index_new_box li:eq(2) a:eq(1)');
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum3 = $('.index_new_box li:eq(3) a:eq(1)');
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum4 = $('.index_new_box li:eq(4) a:eq(1)');
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum5 = $('.index_new_more a:first');	// 更多按钮
	//	alert('_EsdDynamicTransformationScript.esdRotationAgriPartOneANum1: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneANum1 + '\n' + '_EsdDynamicTransformationScript.esdRotationAgriPartOneANum2: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneANum2 + '\n' + '_EsdDynamicTransformationScript.esdRotationAgriPartOneANum3: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneANum3 + '\n' + '_EsdDynamicTransformationScript.esdRotationAgriPartOneANum4: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneANum4 + '\n' + '_EsdDynamicTransformationScript.esdRotationAgriPartOneANum5: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneANum5);

	//原点
	_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum1 = $('.index_new_dbox li:eq(0)');
	_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum2 = $('.index_new_dbox li:eq(1)');
	_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum3 = $('.index_new_dbox li:eq(2)');
	_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum4 = $('.index_new_dbox li:eq(2)');
	_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum5 = $('.index_new_more a:first');// 更多按钮
	//	alert('_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum1: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum1 + '\n' + '_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum2: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum2 + '\n' + '_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum3: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum3 + '\n' + '_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum4: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum4 + '\n' + '_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum5);

	//轮播后的标签	重要信息政策转载  a标签
	_EsdDynamicTransformationScript.esdRotationAgriPartOneAfterNum1 = $('.w575 .zly_2018_h2 a:first');
	//	alert('_EsdDynamicTransformationScript.esdRotationAgriPartOneAfterNum1: ' + _EsdDynamicTransformationScript.esdRotationAgriPartOneAfterNum1);
	//轮播前的焦点
	_EsdDynamicTransformationScript.esdRotationAgriPartOneFrontNum1.focus(function (e) {
		$(document).bind("keydown.xwfb_0_0", function (e) {
			//	console.log('_EsdDynamicTransformationScript.esdRotationAgriPartOneFrontNum1.focus(), e.keyCode= ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum1.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdRotationAgriPartOneFrontNum1.blur(function () {
		$(document).unbind("keydown.xwfb_0_0");
	});

	// 轮播图 第1个tab
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum1.focus(function (e) {
		
		$(document).bind("keydown.xwfb_0_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum2.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum2.focus();
				//	console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum1.blur(function () {
		$(document).unbind("keydown.xwfb_0_1");
	});

	// 轮播图 第2个tab
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum2.focus(function (e) {
		$(document).bind("keydown.xwfb_0_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum1.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum1.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum3.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum3.focus();
				//	console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum2.blur(function () {
		$(document).unbind("keydown.xwfb_0_2");
	});

	// 轮播图 第3个tab
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum3.focus(function (e) {
		$(document).bind("keydown.xwfb_0_3", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum2.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum2.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum4.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum4.focus();
				//	console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum3.blur(function () {
		$(document).unbind("keydown.xwfb_0_3");
	});

	// 轮播图 第4个tab
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum4.focus(function (e) {
		$(document).bind("keydown.xwfb_0_4", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum3.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum3.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum5.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum5.focus();
				//	console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum4.blur(function () {
		$(document).unbind("keydown.xwfb_0_4");
	});

/*	// 轮播图 第5个tab
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum5.focus(function (e) {
		$(document).bind("keydown.xwfb_0_5", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdRotationAgriPartOneCircleNum4.click();
				_EsdDynamicTransformationScript.esdRotationAgriPartOneANum4.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdRotationAgriPartOneAfterNum1.focus();
				//	console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdRotationAgriPartOneANum5.blur(function () {
		$(document).unbind("keydown.xwfb_0_5");
	});
*/

	
	// 1. 国务院/省政府 ------------ begin
	//各个选项卡名称
	_EsdDynamicTransformationScript.esdTabXwfb1Title1 = $(".index_hdjl_new dl dt a:first");	// 对应选项卡为iframe，未跨域
	_EsdDynamicTransformationScript.esdTabXwfb1Title2 = $(".index_hdjl_new dl dt a:last");	// 对应选项卡为iframe，未跨域
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb1Title1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb1Title1).html() + '\n'
			+ '_EsdDynamicTransformationScript.esdTabXwfb1Title2: ' + $(_EsdDynamicTransformationScript.esdTabXwfb1Title2).html() + '\n'
		);	*/

	//各个选项中的第一个内容
	_EsdDynamicTransformationScript.esdTabXwfb1Title1Content1 = $('iframe:eq(0)').contents().find("#testUl a:first");	// 对应选项卡为iframe，未跨域
	_EsdDynamicTransformationScript.esdTabXwfb1Title2Content1 = $('iframe:eq(1)').contents().find("#testUl a:first");	// 对应选项卡为iframe，未跨域
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb1Title1Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb1Title1Content1).html() + '\n'
			+ '_EsdDynamicTransformationScript.esdTabXwfb1Title2Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb1Title2Content1).html() + '\n'
		);	*/

	//各个选项中的最后一个内容
	_EsdDynamicTransformationScript.esdTabXwfb1Title1ContentN = $('iframe:eq(0)').contents().find("#testUl a:last");	// 对应选项卡为iframe，未跨域
	_EsdDynamicTransformationScript.esdTabXwfb1Title2ContentN = $('iframe:eq(1)').contents().find("#testUl a:last");	// 对应选项卡为iframe，未跨域
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb1Title1ContentN: ' + $(_EsdDynamicTransformationScript.esdTabXwfb1Title1ContentN).html() + '\n'
			+ '_EsdDynamicTransformationScript.esdTabXwfb1Title2ContentN: ' + $(_EsdDynamicTransformationScript.esdTabXwfb1Title2ContentN).html() + '\n'
		);	*/

	// 挑出iframe后的下一个元素	: 工作动态a链接
	_EsdDynamicTransformationScript.esdTabXwfb1AfterElement = $('.index_new_list dl dt a:first');
	//	alert('_EsdDynamicTransformationScript.esdTabXwfb1AfterElement: ' + $(_EsdDynamicTransformationScript.esdTabXwfb1AfterElement).html());
	// 第一部分 第1个tab
	_EsdDynamicTransformationScript.esdTabXwfb1Title1.focus(function (e) {
		e = $(this).mouseover();
	//	viewzy(1);
		$(document).bind("keydown.xwfb_1_1", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb1Title1Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb1Title1.blur(function () {
		$(document).unbind("keydown.xwfb_1_1");
	});

	_EsdDynamicTransformationScript.esdTabXwfb1Title1Content1.focus(function () {
		$(this).bind("keydown.xwfb_1_1_1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb1Title1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb1Title1Content1.blur(function () {
		$(this).unbind("keydown.xwfb_1_1_1");
	});

	_EsdDynamicTransformationScript.esdTabXwfb1Title1ContentN.focus(function () {
		console.log('_EsdDynamicTransformationScript.esdTabXwfb1Title1ContentN.focus');
		$(this).bind("keydown.xwfb_1_1_n", function (e) {
			console.log('e.shiftKey: ' + e.shiftKey + ', e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb1Title2.focus();
			//	viewzy(2);
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb1Title1ContentN.blur(function () {
		$(this).unbind("keydown.xwfb_1_1_n");
	});

	// 第一部分 第2个tab
	_EsdDynamicTransformationScript.esdTabXwfb1Title2.focus(function (e) {
		e = $(this).mouseover();
		$(document).bind("keydown.xwfb_1_2", function (e) {
			if(e.shiftKey&&e.keyCode==9){
				// viewzy(1);
				_EsdDynamicTransformationScript.esdTabXwfb1Title1.mouseover();
				_EsdDynamicTransformationScript.esdTabXwfb1Title1ContentN.focus();
				return false;
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb1Title2Content1.focus();
			//	console.log(document.activeElement);
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb1Title2.blur(function () {
		$(document).unbind("keydown.xwfb_1_2");
	});
	_EsdDynamicTransformationScript.esdTabXwfb1Title2Content1.focus(function () {
		$(this).bind("keydown.xwfb_1_2_1", function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb1Title2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb1Title2Content1.blur(function () {
		$(this).unbind("keydown.xwfb_1_2_1");
	});

	_EsdDynamicTransformationScript.esdTabXwfb1Title2ContentN.focus(function () {
		console.log('_EsdDynamicTransformationScript.esdTabXwfb1Title1ContentN.focus');
		$(this).bind("keydown.xwfb_1_2_n", function (e) {
			console.log('e.shiftKey: ' + e.shiftKey + ', e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
				
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb1AfterElement.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb1Title2ContentN.blur(function () {
		$(this).unbind("keydown.xwfb_1_2_n");
	});
	// 1. 国务院/省政府 ------------ end
	
	// 2. 行业新闻/部门动态/市县动态 ------------ begin
	// 各个选项 标题
	_EsdDynamicTransformationScript.esdTabXwfb2Title1 = $('.index_new_list dl dt a:eq(0)');	//  行业新闻 title
	_EsdDynamicTransformationScript.esdTabXwfb2Title2 = $('.index_new_list dl dt a:eq(1)');	// 部门动态title	
	_EsdDynamicTransformationScript.esdTabXwfb2Title3 = $('.index_new_list dl dt a:eq(2)');	// 市县动态title
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb2Title1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title1).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb2Title2: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title2).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb2Title3: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title3).html()
		);	*/
	// 各个选项 列表第一个内容
	_EsdDynamicTransformationScript.esdTabXwfb2Title1Content1 = $('.index_new_list dl dd:eq(0) a:first');
	_EsdDynamicTransformationScript.esdTabXwfb2Title2Content1 = $('.index_new_list dl dd:eq(1) a:first');
	_EsdDynamicTransformationScript.esdTabXwfb2Title3Content1 = $('.index_new_list dl dd:eq(2) a:first');
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb2Title1Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title1Content1).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb2Title2Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title2Content1).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb2Title3Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title3Content1).html()
		);	*/

	// 各个选项中 列表最后一个内容
	_EsdDynamicTransformationScript.esdTabXwfb2Title1ContentLast = $('.index_new_list dl dd:eq(0) a:last');
	_EsdDynamicTransformationScript.esdTabXwfb2Title2ContentLast = $('.index_new_list dl dd:eq(1) a:last');
	_EsdDynamicTransformationScript.esdTabXwfb2Title3ContentLast = $('.index_new_list dl dd:eq(2) a:last');
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb2Title1ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title1ContentLast).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb2Title2ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title2ContentLast).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb2Title3ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title3ContentLast).html()
		);	*/
	// 2. 行业新闻/部门动态/市县动态  选项卡 第1个tab 行业新闻 tab title跳转
	_EsdDynamicTransformationScript.esdTabXwfb2Title1.focus(function (e) {
		e = $(this).mouseover();
	//	_EsdDynamicTransformationScript.esdTabXwfb2Title1Content1.parent().parent().show();
	//	_EsdDynamicTransformationScript.esdTabXwfb2Title4Content1.parent().parent().hide();
		$(document).bind('keydown.xwfb_2_1', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title1Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title1.blur(function () {
		$(document).unbind('keydown.xwfb_2_1');
	});
	// 第一块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabXwfb2Title1Content1.focus(function () {
		$(document).bind('keydown.xwfb_2_1_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title1Content1.blur(function () {
		$(document).unbind('keydown.xwfb_2_1_1');
	});
	// 第一块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabXwfb2Title1ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabXwfb2Title1ContentLast.focus');
		$(document).bind('keydown.xwfb_2_1_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title1ContentLast.blur(function () {
		$(document).unbind('keydown.xwfb_2_1_n');
	});

	// 2. 行业新闻/部门动态/市县动态  选项卡 第2个tab 部门动态 tab title跳转
	_EsdDynamicTransformationScript.esdTabXwfb2Title2.focus(function (e) {
		e = $(this).mouseover();
		$(document).bind('keydown.xwfb_2_2', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTabXwfb2Title1.mouseover();
				_EsdDynamicTransformationScript.esdTabXwfb2Title1ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title2Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title2.blur(function () {
		$(document).unbind('keydown.xwfb_2_2');
	});
	// 第二块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabXwfb2Title2Content1.focus(function () {
		$(this).bind('keydown.xwfb_2_2_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title2Content1.blur(function () {
		$(this).unbind('keydown.xwfb_2_2_1');
	});
	// 第二块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabXwfb2Title2ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabXwfb2Title2ContentLast.focus');
		$(this).bind('keydown.xwfb_2_2_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title2ContentLast.blur(function () {
		$(this).unbind('keydown.xwfb_2_2_n');
	});


	// 2. 行业新闻/部门动态/市县动态  选项卡 第3个tab 市县动态
	_EsdDynamicTransformationScript.esdTabXwfb2Title3.focus(function (e) {
		e = $(this).mouseover();
	//	_EsdDynamicTransformationScript.esdTabXwfb2Title1Content1.parent().parent().hide();
	//	_EsdDynamicTransformationScript.esdTabXwfb2Title2Content1.parent().parent().show();
		$(document).bind('keydown.xwfb_2_3', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTabXwfb2Title2.mouseover();
				_EsdDynamicTransformationScript.esdTabXwfb2Title2ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title3Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title3.blur(function () {
		$(document).unbind('keydown.xwfb_2_3');
	});
	
	// 第三块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabXwfb2Title3Content1.focus(function () {
		$(this).bind('keydown.xwfb_2_3_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title3Content1.blur(function () {
		$(this).unbind('keydown.xwfb_2_3_1');
	});
/*	// 第三块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabXwfb2Title3ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabXwfb2Title2ContentLast.focus');
		$(this).bind('keydown.xwfb_2_3_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title3ContentLast.blur(function () {
		$(this).unbind('keydown.xwfb_3_2_n');
	});
	*/
	// 2. 行业新闻/部门动态/市县动态 ------------ end
	
	
}
// ***************	二级页面之 新闻发布 end	***************	//

// ***************	二级页面之 现代农业 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://agri.jl.gov.cn/xdny/'){

	// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
	_EsdDynamicTransformationScriptNavBlock.selector.main=".nr_box";
	_EsdDynamicTransformationScriptNavBlock.selector.left=".nr_box .xdny_line1_l";
	_EsdDynamicTransformationScriptNavBlock.selector.right=".nr_box .xdny_line1_r";
	_EsdDynamicTransformationScriptNavBlock.selector.content=".nr_box .zw_bx";
	
		// 1. 推广/监理/鉴定 ------------ begin
	// 各个选项 标题
	_EsdDynamicTransformationScript.esdTabXwfb1Title1 = $('.xdny_line1_l .xdny_nyjxh  dt p a:eq(0)');	//  推广 title
	_EsdDynamicTransformationScript.esdTabXwfb1Title2 = $('.xdny_line1_l .xdny_nyjxh  dt p a:eq(1)');	// 监理title	
	_EsdDynamicTransformationScript.esdTabXwfb1Title3 = $('.xdny_line1_l .xdny_nyjxh  dt p a:eq(2)');	// 鉴定title
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb1Title1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb1Title1).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb1Title2: ' + $(_EsdDynamicTransformationScript.esdTabXwfb1Title2).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb1Title3: ' + $(_EsdDynamicTransformationScript.esdTabXwfb1Title3).html()
		);	*/
	// 各个选项 列表第一个内容
	_EsdDynamicTransformationScript.esdTabXwfb1Title1Content1 = $('.xdny_line1_l .xdny_nyjxh dd:eq(0) a:first');
	_EsdDynamicTransformationScript.esdTabXwfb1Title2Content1 = $('.xdny_line1_l .xdny_nyjxh dd:eq(1) a:first');
	_EsdDynamicTransformationScript.esdTabXwfb1Title3Content1 = $('.xdny_line1_l .xdny_nyjxh dd:eq(2) a:first');
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb1Title1Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb1Title1Content1).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb1Title2Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb1Title2Content1).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb1Title3Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb1Title3Content1).html()
		);	*/

	// 各个选项中 列表最后一个内容
	_EsdDynamicTransformationScript.esdTabXwfb1Title1ContentLast = $('.xdny_line1_l .xdny_nyjxh dd:eq(0) a:last');
	_EsdDynamicTransformationScript.esdTabXwfb1Title2ContentLast = $('.xdny_line1_l .xdny_nyjxh dd:eq(1) a:last');
	_EsdDynamicTransformationScript.esdTabXwfb1Title3ContentLast = $('.xdny_line1_l .xdny_nyjxh dd:eq(2) a:last');
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb1Title1ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabXwfb1Title1ContentLast).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb1Title2ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabXwfb1Title2ContentLast).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb1Title3ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabXwfb1Title3ContentLast).html()
		);	*/
	// 1. 推广/监理/鉴定  选项卡 第1个tab 推广 tab title跳转
	_EsdDynamicTransformationScript.esdTabXwfb1Title1.focus(function (e) {
		e = $(this).mouseover();
	//	_EsdDynamicTransformationScript.esdTabXwfb1Title1Content1.parent().parent().show();
	//	_EsdDynamicTransformationScript.esdTabXwfb1Title4Content1.parent().parent().hide();
		$(document).bind('keydown.xdny_1_1', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb1Title1Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb1Title1.blur(function () {
		$(document).unbind('keydown.xdny_1_1');
	});
	// 第二块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabXwfb1Title1Content1.focus(function () {
		$(document).bind('keydown.xdny_1_1_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb1Title1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb1Title1Content1.blur(function () {
		$(document).unbind('keydown.xdny_1_1_1');
	});
	// 第二块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabXwfb1Title1ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabXwfb1Title1ContentLast.focus');
		$(document).bind('keydown.xdny_1_1_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb1Title2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb1Title1ContentLast.blur(function () {
		$(document).unbind('keydown.xdny_1_1_n');
	});

	// 1. 推广/监理/鉴定  选项卡 第2个tab 监理 tab title跳转
	_EsdDynamicTransformationScript.esdTabXwfb1Title2.focus(function (e) {
		e = $(this).mouseover();
		$(document).bind('keydown.xdny_1_2', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTabXwfb1Title1.mouseover();
				_EsdDynamicTransformationScript.esdTabXwfb1Title1ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb1Title2Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb1Title2.blur(function () {
		$(document).unbind('keydown.xdny_1_2');
	});
	// 第二块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabXwfb1Title2Content1.focus(function () {
		$(this).bind('keydown.xdny_1_2_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb1Title2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb1Title2Content1.blur(function () {
		$(this).unbind('keydown.xdny_1_2_1');
	});
	// 第二块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabXwfb1Title2ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabXwfb1Title2ContentLast.focus');
		$(this).bind('keydown.xdny_1_2_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb1Title3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb1Title2ContentLast.blur(function () {
		$(this).unbind('keydown.xdny_1_2_n');
	});


	// 1. 推广/监理/鉴定  选项卡 第3个tab 鉴定
	_EsdDynamicTransformationScript.esdTabXwfb1Title3.focus(function (e) {
		e = $(this).mouseover();
	//	_EsdDynamicTransformationScript.esdTabXwfb1Title1Content1.parent().parent().hide();
	//	_EsdDynamicTransformationScript.esdTabXwfb1Title2Content1.parent().parent().show();
		$(document).bind('keydown.xdny_1_3', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTabXwfb1Title2.mouseover();
				_EsdDynamicTransformationScript.esdTabXwfb1Title2ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb1Title3Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb1Title3.blur(function () {
		$(document).unbind('keydown.xdny_1_3');
	});
	
	// 第三块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabXwfb1Title3Content1.focus(function () {
		$(this).bind('keydown.xdny_1_3_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb1Title3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb1Title3Content1.blur(function () {
		$(this).unbind('keydown.xdny_1_3_1');
	});
/*	// 第三块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabXwfb1Title3ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabXwfb1Title2ContentLast.focus');
		$(this).bind('keydown.xdny_1_3_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb1Title3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb1Title3ContentLast.blur(function () {
		$(this).unbind('keydown.xdny_1_3_n');
	});
	*/
	// 1. 推广/监理/鉴定 ------------ end
	
	// 2. 农业生产/农村经济/安全生产 ------------ begin
	// 各个选项 标题
	_EsdDynamicTransformationScript.esdTabXwfb2Title1 = $('.xdny_line1_r dl dt a:eq(0)');	//  农业生产 title
	_EsdDynamicTransformationScript.esdTabXwfb2Title2 = $('.xdny_line1_r dl dt a:eq(1)');	// 农村经济title	
	_EsdDynamicTransformationScript.esdTabXwfb2Title3 = $('.xdny_line1_r dl dt a:eq(2)');	// 安全生产title
		alert('_EsdDynamicTransformationScript.esdTabXwfb2Title1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title1).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb2Title2: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title2).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb2Title3: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title3).html()
		);	
	// 各个选项 列表第一个内容
	_EsdDynamicTransformationScript.esdTabXwfb2Title1Content1 = $('.xdny_line1_r dl dd:eq(0) a:first');
	_EsdDynamicTransformationScript.esdTabXwfb2Title2Content1 = $('.xdny_line1_r dl dd:eq(1) a:first');
	_EsdDynamicTransformationScript.esdTabXwfb2Title3Content1 = $('.xdny_line1_r dl dd:eq(2) a:first');
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb2Title1Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title1Content1).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb2Title2Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title2Content1).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb2Title3Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title3Content1).html()
		);	*/

	// 各个选项中 列表最后一个内容
	_EsdDynamicTransformationScript.esdTabXwfb2Title1ContentLast = $('.xdny_line1_r dl dd:eq(0) a:last');
	_EsdDynamicTransformationScript.esdTabXwfb2Title2ContentLast = $('.xdny_line1_r dl dd:eq(1) a:last');
	_EsdDynamicTransformationScript.esdTabXwfb2Title3ContentLast = $('.xdny_line1_r dl dd:eq(2) a:last');
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb2Title1ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title1ContentLast).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb2Title2ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title2ContentLast).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb2Title3ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabXwfb2Title3ContentLast).html()
		);	*/
	// 2. 农业生产/农村经济/安全生产  选项卡 第1个tab 农业生产 tab title跳转
	_EsdDynamicTransformationScript.esdTabXwfb2Title1.focus(function (e) {
		e = $(this).mouseover();
	//	_EsdDynamicTransformationScript.esdTabXwfb2Title1Content1.parent().parent().show();
	//	_EsdDynamicTransformationScript.esdTabXwfb2Title4Content1.parent().parent().hide();
		$(document).bind('keydown.xdny_2_1', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title1Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title1.blur(function () {
		$(document).unbind('keydown.xdny_2_1');
	});
	// 第二块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabXwfb2Title1Content1.focus(function () {
		$(document).bind('keydown.xdny_2_1_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title1Content1.blur(function () {
		$(document).unbind('keydown.xdny_2_1_1');
	});
	// 第二块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabXwfb2Title1ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabXwfb2Title1ContentLast.focus');
		$(document).bind('keydown.xdny_2_1_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title1ContentLast.blur(function () {
		$(document).unbind('keydown.xdny_2_1_n');
	});

	// 2. 农业生产/农村经济/安全生产  选项卡 第2个tab 农村经济 tab title跳转
	_EsdDynamicTransformationScript.esdTabXwfb2Title2.focus(function (e) {
		e = $(this).mouseover();
		$(document).bind('keydown.xdny_2_2', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTabXwfb2Title1.mouseover();
				_EsdDynamicTransformationScript.esdTabXwfb2Title1ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title2Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title2.blur(function () {
		$(document).unbind('keydown.xdny_2_2');
	});
	// 第二块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabXwfb2Title2Content1.focus(function () {
		$(this).bind('keydown.xdny_2_2_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title2Content1.blur(function () {
		$(this).unbind('keydown.xdny_2_2_1');
	});
	// 第二块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabXwfb2Title2ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabXwfb2Title2ContentLast.focus');
		$(this).bind('keydown.xdny_2_2_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title2ContentLast.blur(function () {
		$(this).unbind('keydown.xdny_2_2_n');
	});


	// 2. 农业生产/农村经济/安全生产  选项卡 第3个tab 安全生产
	_EsdDynamicTransformationScript.esdTabXwfb2Title3.focus(function (e) {
		e = $(this).mouseover();
	//	_EsdDynamicTransformationScript.esdTabXwfb2Title1Content1.parent().parent().hide();
	//	_EsdDynamicTransformationScript.esdTabXwfb2Title2Content1.parent().parent().show();
		$(document).bind('keydown.xdny_2_3', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTabXwfb2Title2.mouseover();
				_EsdDynamicTransformationScript.esdTabXwfb2Title2ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title3Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title3.blur(function () {
		$(document).unbind('keydown.xdny_2_3');
	});
	
	// 第三块 - 列表 第一项
	_EsdDynamicTransformationScript.esdTabXwfb2Title3Content1.focus(function () {
		$(this).bind('keydown.xdny_2_3_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title3Content1.blur(function () {
		$(this).unbind('keydown.xdny_2_3_1');
	});
/*	// 第三块 - 列表 最后一项
	_EsdDynamicTransformationScript.esdTabXwfb2Title3ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabXwfb2Title2ContentLast.focus');
		$(this).bind('keydown.xdny_2_3_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb2Title3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb2Title3ContentLast.blur(function () {
		$(this).unbind('keydown.xdny_2_3_n');
	});
	*/
	// 2. 农业生产/农村经济/安全生产 ------------ end
	
	// 3. 农产品加工/农产品质量/农业产业化/农垦事业 ------------ begin
	// 各个选项 标题
	_EsdDynamicTransformationScript.esdTabXwfb3Title1 = $('.xdny_line2 dl dt a:eq(0)');	//  农产品加工 title
	_EsdDynamicTransformationScript.esdTabXwfb3Title2 = $('.xdny_line2 dl dt a:eq(1)');	// 农产品质量title	
	_EsdDynamicTransformationScript.esdTabXwfb3Title3 = $('.xdny_line2 dl dt a:eq(2)');	// 农业产业化title
	_EsdDynamicTransformationScript.esdTabXwfb3Title4 = $('.xdny_line2 dl dt a:eq(3)');	// 农垦事业title
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb3Title1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb3Title1).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb3Title2: ' + $(_EsdDynamicTransformationScript.esdTabXwfb3Title2).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb3Title3: ' + $(_EsdDynamicTransformationScript.esdTabXwfb3Title3).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb3Title4: ' + $(_EsdDynamicTransformationScript.esdTabXwfb3Title4).html() + '\n'
		);	*/
	// 各个选项 列表第一个内容
	_EsdDynamicTransformationScript.esdTabXwfb3Title1Content1 = $('.xdny_line2 dl dd:eq(0) a:first');
	_EsdDynamicTransformationScript.esdTabXwfb3Title2Content1 = $('.xdny_line2 dl dd:eq(1) a:first');
	_EsdDynamicTransformationScript.esdTabXwfb3Title3Content1 = $('.xdny_line2 dl dd:eq(2) a:first');
	_EsdDynamicTransformationScript.esdTabXwfb3Title4Content1 = $('.xdny_line2 dl dd:eq(3) a:first');
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb3Title1Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb3Title1Content1).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb3Title2Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb3Title2Content1).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb3Title3Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb3Title3Content1).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb3Title4Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb3Title4Content1).html() + '\n'
		);	*/

	// 各个选项中 列表最后一个内容
	_EsdDynamicTransformationScript.esdTabXwfb3Title1ContentLast = $('.xdny_line2 dl dd:eq(0) a:last');
	_EsdDynamicTransformationScript.esdTabXwfb3Title2ContentLast = $('.xdny_line2 dl dd:eq(1) a:last');
	_EsdDynamicTransformationScript.esdTabXwfb3Title3ContentLast = $('.xdny_line2 dl dd:eq(2) a:last');
	_EsdDynamicTransformationScript.esdTabXwfb3Title4ContentLast = $('.xdny_line2 dl dd:eq(3) a:last');
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb3Title1ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabXwfb3Title1ContentLast).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb3Title2ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabXwfb3Title2ContentLast).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb3Title3ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabXwfb3Title3ContentLast).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb3Title3ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabXwfb3Title3ContentLast).html() + '\n'
		);	*/
	// 3. 农产品加工/农产品质量/农业产业化/农垦事业  选项卡 第1个tab 农产品加工 tab title跳转
	_EsdDynamicTransformationScript.esdTabXwfb3Title1.focus(function (e) {
		e = $(this).mouseover();
		$(document).bind('keydown.xdny_3_1', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb3Title1Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb3Title1.blur(function () {
		$(document).unbind('keydown.xdny_3_1');
	});
	// 列表 第一项
	_EsdDynamicTransformationScript.esdTabXwfb3Title1Content1.focus(function () {
		$(document).bind('keydown.xdny_3_1_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb3Title1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb3Title1Content1.blur(function () {
		$(document).unbind('keydown.xdny_3_1_1');
	});
	// 列表 最后一项
	_EsdDynamicTransformationScript.esdTabXwfb3Title1ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabXwfb3Title1ContentLast.focus');
		$(document).bind('keydown.xdny_3_1_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb3Title2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb3Title1ContentLast.blur(function () {
		$(document).unbind('keydown.xdny_3_1_n');
	});

	// 3. 农产品加工/农产品质量/农业产业化/农垦事业  选项卡 第2个tab 农产品质量 tab title跳转
	_EsdDynamicTransformationScript.esdTabXwfb3Title2.focus(function (e) {
		e = $(this).mouseover();
		$(document).bind('keydown.xdny_3_2', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTabXwfb3Title1.mouseover();
				_EsdDynamicTransformationScript.esdTabXwfb3Title1ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb3Title2Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb3Title2.blur(function () {
		$(document).unbind('keydown.xdny_3_2');
	});
	// 列表 第一项
	_EsdDynamicTransformationScript.esdTabXwfb3Title2Content1.focus(function () {
		$(this).bind('keydown.xdny_3_2_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb3Title2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb3Title2Content1.blur(function () {
		$(this).unbind('keydown.xdny_3_2_1');
	});
	// 列表 最后一项
	_EsdDynamicTransformationScript.esdTabXwfb3Title2ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabXwfb3Title2ContentLast.focus');
		$(this).bind('keydown.xdny_3_2_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb3Title3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb3Title2ContentLast.blur(function () {
		$(this).unbind('keydown.xdny_3_2_n');
	});


	// 3. 农产品加工/农产品质量/农业产业化/农垦事业  选项卡 第3个tab 农业产业化
	_EsdDynamicTransformationScript.esdTabXwfb3Title3.focus(function (e) {
		e = $(this).mouseover();
		$(document).bind('keydown.xdny_3_3', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTabXwfb3Title2.mouseover();
				_EsdDynamicTransformationScript.esdTabXwfb3Title2ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb3Title3Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb3Title3.blur(function () {
		$(document).unbind('keydown.xdny_3_3');
	});
	
	// 列表 第一项
	_EsdDynamicTransformationScript.esdTabXwfb3Title3Content1.focus(function () {
		$(this).bind('keydown.xdny_3_3_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb3Title3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb3Title3Content1.blur(function () {
		$(this).unbind('keydown.xdny_3_3_1');
	});
	// 列表 最后一项
	_EsdDynamicTransformationScript.esdTabXwfb3Title3ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabXwfb3Title2ContentLast.focus');
		$(this).bind('keydown.xdny_3_3_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb3Title4.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb3Title3ContentLast.blur(function () {
		$(this).unbind('keydown.xdny_3_3_n');
	});
	
	// 3. 农产品加工/农产品质量/农业产业化/农垦事业  选项卡 第4个tab 农垦事业
	_EsdDynamicTransformationScript.esdTabXwfb3Title4.focus(function (e) {
		e = $(this).mouseover();
	//	_EsdDynamicTransformationScript.esdTabXwfb3Title1Content1.parent().parent().hide();
	//	_EsdDynamicTransformationScript.esdTabXwfb3Title2Content1.parent().parent().show();
		$(document).bind('keydown.xdny_3_4', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTabXwfb3Title3.mouseover();
				_EsdDynamicTransformationScript.esdTabXwfb3Title3ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb3Title4Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb3Title4.blur(function () {
		$(document).unbind('keydown.xdny_3_4');
	});
	
	// 列表 第一项
	_EsdDynamicTransformationScript.esdTabXwfb3Title4Content1.focus(function () {
		$(this).bind('keydown.xdny_3_4_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb3Title3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb3Title4Content1.blur(function () {
		$(this).unbind('keydown.xdny_3_4_1');
	});
	// 列表 最后一项
	_EsdDynamicTransformationScript.esdTabXwfb3Title4ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabXwfb3Title2ContentLast.focus');
		_EsdDynamicTransformationScript.esdTabXwfb3Title4.mouseover();
		$(this).bind('keydown.xdny_3_4_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
			//	_EsdDynamicTransformationScript.esdTabXwfb3Title3.focus();
			//	return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb3Title4ContentLast.blur(function () {
		$(this).unbind('keydown.xdny_3_4_n');
	});	
	// 3. 农产品加工/农产品质量/农业产业化/农垦事业 ------------ end
	
		// 4. 调查研究/农村改革/遥感监测 ------------ begin
	// 各个选项 标题
	_EsdDynamicTransformationScript.esdTabXwfb4Title1 = $('.xdny_line3 dl dt a:eq(0)');	//  调查研究 title
	_EsdDynamicTransformationScript.esdTabXwfb4Title2 = $('.xdny_line3 dl dt a:eq(1)');	// 农村改革title	
	_EsdDynamicTransformationScript.esdTabXwfb4Title3 = $('.xdny_line3 dl dt a:eq(2)');	// 遥感监测title
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb4Title1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb4Title1).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb4Title2: ' + $(_EsdDynamicTransformationScript.esdTabXwfb4Title2).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb4Title3: ' + $(_EsdDynamicTransformationScript.esdTabXwfb4Title3).html()
		);	*/
	// 各个选项 列表第一个内容
	_EsdDynamicTransformationScript.esdTabXwfb4Title1Content1 = $('.xdny_line3 dl dd:eq(0) a:first');
	_EsdDynamicTransformationScript.esdTabXwfb4Title2Content1 = $('.xdny_line3 dl dd:eq(1) a:first');
	_EsdDynamicTransformationScript.esdTabXwfb4Title3Content1 = $('.xdny_line3 dl dd:eq(2) a:first');
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb4Title1Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb4Title1Content1).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb4Title2Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb4Title2Content1).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb4Title3Content1: ' + $(_EsdDynamicTransformationScript.esdTabXwfb4Title3Content1).html()
		);	*/

	// 各个选项中 列表最后一个内容
	_EsdDynamicTransformationScript.esdTabXwfb4Title1ContentLast = $('.xdny_line3 dl dd:eq(0) a:last');
	_EsdDynamicTransformationScript.esdTabXwfb4Title2ContentLast = $('.xdny_line3 dl dd:eq(1) a:last');
	_EsdDynamicTransformationScript.esdTabXwfb4Title3ContentLast = $('.xdny_line3 dl dd:eq(2) a:last');
	/*	alert('_EsdDynamicTransformationScript.esdTabXwfb4Title1ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabXwfb4Title1ContentLast).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb4Title2ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabXwfb4Title2ContentLast).html() + '\n'
			+ ', _EsdDynamicTransformationScript.esdTabXwfb4Title3ContentLast: ' + $(_EsdDynamicTransformationScript.esdTabXwfb4Title3ContentLast).html()
		);	*/
	// 4. 调查研究/农村改革/遥感监测  选项卡 第1个tab 调查研究 tab title跳转
	_EsdDynamicTransformationScript.esdTabXwfb4Title1.focus(function (e) {
		e = $(this).mouseover();
		$(document).bind('keydown.xdny_4_1', function (e) {
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb4Title1Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb4Title1.blur(function () {
		$(document).unbind('keydown.xdny_4_1');
	});
	// 列表 第一项
	_EsdDynamicTransformationScript.esdTabXwfb4Title1Content1.focus(function () {
		$(document).bind('keydown.xdny_4_1_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb4Title1.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb4Title1Content1.blur(function () {
		$(document).unbind('keydown.xdny_4_1_1');
	});
	// 列表 最后一项
	_EsdDynamicTransformationScript.esdTabXwfb4Title1ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabXwfb4Title1ContentLast.focus');
		$(document).bind('keydown.xdny_4_1_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb4Title2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb4Title1ContentLast.blur(function () {
		$(document).unbind('keydown.xdny_4_1_n');
	});

	// 4. 调查研究/农村改革/遥感监测  选项卡 第2个tab 农村改革 tab title跳转
	_EsdDynamicTransformationScript.esdTabXwfb4Title2.focus(function (e) {
		e = $(this).mouseover();
		$(document).bind('keydown.xdny_4_2', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTabXwfb4Title1.mouseover();
				_EsdDynamicTransformationScript.esdTabXwfb4Title1ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb4Title2Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb4Title2.blur(function () {
		$(document).unbind('keydown.xdny_4_2');
	});
	// 列表 第一项
	_EsdDynamicTransformationScript.esdTabXwfb4Title2Content1.focus(function () {
		$(this).bind('keydown.xdny_4_2_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb4Title2.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb4Title2Content1.blur(function () {
		$(this).unbind('keydown.xdny_4_2_1');
	});
	// 列表 最后一项
	_EsdDynamicTransformationScript.esdTabXwfb4Title2ContentLast.focus(function () {
		//	console.log('_EsdDynamicTransformationScript.esdTabXwfb4Title2ContentLast.focus');
		$(this).bind('keydown.xdny_4_2_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb4Title3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb4Title2ContentLast.blur(function () {
		$(this).unbind('keydown.xdny_4_2_n');
	});


	// 4. 调查研究/农村改革/遥感监测  选项卡 第3个tab 遥感监测
	_EsdDynamicTransformationScript.esdTabXwfb4Title3.focus(function (e) {
		e = $(this).mouseover();
		$(document).bind('keydown.xdny_4_3', function (e) {
			if(e.shiftKey&&e.keyCode==9){
				_EsdDynamicTransformationScript.esdTabXwfb4Title2.mouseover();
				_EsdDynamicTransformationScript.esdTabXwfb4Title2ContentLast.focus();
			}else if (e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb4Title3Content1.focus();
				return false;
			}
		});

	});
	_EsdDynamicTransformationScript.esdTabXwfb4Title3.blur(function () {
		$(document).unbind('keydown.xdny_4_3');
	});
	
	// 列表 第一项
	_EsdDynamicTransformationScript.esdTabXwfb4Title3Content1.focus(function () {
		$(this).bind('keydown.xdny_4_3_1', function (e) {
			if (e.shiftKey && e.keyCode == 9) {
				_EsdDynamicTransformationScript.esdTabXwfb4Title3.focus();
				return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb4Title3Content1.blur(function () {
		$(this).unbind('keydown.xdny_4_3_1');
	});
/*	// 列表 最后一项
	_EsdDynamicTransformationScript.esdTabXwfb4Title3ContentLast.focus(function () {
		_EsdDynamicTransformationScript.esdTabXwfb4Title3.focus();
		//	console.log('_EsdDynamicTransformationScript.esdTabXwfb4Title2ContentLast.focus');
		$(this).bind('keydown.xdny_4_3_n', function (e) {
			//	console.log('e.keyCode: ' + e.keyCode);
			if(e.shiftKey&&e.keyCode==9){
			}else if (e.keyCode == 9) {
			//	_EsdDynamicTransformationScript.esdTabXwfb4Title3.focus();
			//	return false;
			}
		});
	});
	_EsdDynamicTransformationScript.esdTabXwfb4Title3ContentLast.blur(function () {
		$(this).unbind('keydown.xdny_4_3_n');
	});	*/
	
	// 4. 调查研究/农村改革/遥感监测 ------------ end
}
// ***************	二级页面之 现代农业 end	***************	//


// ***************	二级页面之 网上办事 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://agri.jl.gov.cn/wsbs/'){

	// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
	_EsdDynamicTransformationScriptNavBlock.selector.main=".nr_box";
	_EsdDynamicTransformationScriptNavBlock.selector.left=".nr_box .xczx_line02_l";
	_EsdDynamicTransformationScriptNavBlock.selector.right=".nr_box .xczx_line02_r";
	_EsdDynamicTransformationScriptNavBlock.selector.content=".nr_box .zw_bx";
	
}
// ***************	二级页面之 网上办事 end	***************	//

// ***************	二级页面之 互动交流 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://agri.jl.gov.cn/hdjl/'){

	// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
	_EsdDynamicTransformationScriptNavBlock.selector.main=".zly_2018_c";
	_EsdDynamicTransformationScriptNavBlock.selector.left=".zly_2018_c .w802";
	_EsdDynamicTransformationScriptNavBlock.selector.right=".zly_2018_c .picture_new";
	_EsdDynamicTransformationScriptNavBlock.selector.content=".zly_2018_c";
	
	
}
// ***************	二级页面之 互动交流 end	***************	//

// ***************	二级页面之 乡村振兴 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://agri.jl.gov.cn/xczx/'){

	// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
	_EsdDynamicTransformationScriptNavBlock.selector.main=".nr_box";
	_EsdDynamicTransformationScriptNavBlock.selector.left=".nr_box .xczx_line02_l";
	_EsdDynamicTransformationScriptNavBlock.selector.right=".nr_box .xczx_line02_r";
	_EsdDynamicTransformationScriptNavBlock.selector.content=".nr_box .xczx_line02";
	
	
}
// ***************	二级页面之 乡村振兴 end	***************	//

// ***************	二级页面之 专题专栏 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://agri.jl.gov.cn/rdzt/'){

	// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
	_EsdDynamicTransformationScriptNavBlock.selector.main=".zly_2018_c";
	_EsdDynamicTransformationScriptNavBlock.selector.left=".zly_2018_c";
	_EsdDynamicTransformationScriptNavBlock.selector.right=".zly_2018_c";
	_EsdDynamicTransformationScriptNavBlock.selector.content=".zly_2018_c";
	
}
// ***************	二级页面之 专题专栏 end	***************	//

// ***************	二级页面之 应用服务 begin	***************	//
if(_EsdDynamicTransformationScript.currentUrl == 'http://agri.jl.gov.cn/yyfw/'){

	// 提供给区域跳转用的选择器，只有main,left, right和content, 其余top, footer因为是全站通用的，所以在底部已经定义了.
	_EsdDynamicTransformationScriptNavBlock.selector.main=".zly_2018_c";
	_EsdDynamicTransformationScriptNavBlock.selector.left=".zly_2018_c";
	_EsdDynamicTransformationScriptNavBlock.selector.right=".zly_2018_c";
	_EsdDynamicTransformationScriptNavBlock.selector.content=".zly_2018_c";
	
}
// ***************	二级页面之 应用服务 end	***************	//










/*区域跳转JS --begin
插件支持：jquery、mousetrap
功能：为避免与浏览器快捷键冲突默认全部采用3+1组合键（alt+ctrl+shift）+自定义键
	头部跳转		alt+ctrl+shift+T(top)
	底部跳转		alt+ctrl+shift+F(footer)
	主要区域跳转	alt+ctrl+shift+M(main)
	左侧跳转		alt+ctrl+shift+L(left)
	右侧跳转		alt+ctrl+shift+R(right)
	正文跳转		alt+ctrl+shift+C(content)
	区域导航正跳转	alt+ctrl+shift+D(up)
	区域导航逆跳转	alt+ctrl+shift+U(down);

*/
/*
var _EsdDynamicTransformationScriptNavBlock={};//定义区域跳转类 在最上面定义了哦
_EsdDynamicTransformationScriptNavBlock.key={};
_EsdDynamicTransformationScriptNavBlock.selector={};
_EsdDynamicTransformationScriptNavBlock.sIndex = -1;
_EsdDynamicTransformationScriptNavBlock.maxIndex = -1;
_EsdDynamicTransformationScriptNavBlock.minIndex = 0;
// 快捷键定义区
_EsdDynamicTransformationScriptNavBlock.key.top="alt+ctrl+shift+t"//(top)
_EsdDynamicTransformationScriptNavBlock.key.footer="alt+ctrl+shift+j"//(footer)
_EsdDynamicTransformationScriptNavBlock.key.main="alt+ctrl+shift+m"//(main)
_EsdDynamicTransformationScriptNavBlock.key.left="alt+ctrl+shift+l"//(left)
_EsdDynamicTransformationScriptNavBlock.key.right="alt+ctrl+shift+r"//(right)
_EsdDynamicTransformationScriptNavBlock.key.content="alt+ctrl+shift+c"//(content)
_EsdDynamicTransformationScriptNavBlock.key.down="alt+ctrl+shift+d"//(down)
_EsdDynamicTransformationScriptNavBlock.key.up="alt+ctrl+shift+u"//(up);

// 定义跳转 使用jquery选择器语法	此部分选择器 其中main,left,right和content在各个页面的if判断语句中重写了
_EsdDynamicTransformationScriptNavBlock.selector.top=".logo_box";
_EsdDynamicTransformationScriptNavBlock.selector.footer=".bottom_box";
_EsdDynamicTransformationScriptNavBlock.selector.main=".nr_box";
_EsdDynamicTransformationScriptNavBlock.selector.left=".index_new";
_EsdDynamicTransformationScriptNavBlock.selector.right=".index_zwgk_box";
_EsdDynamicTransformationScriptNavBlock.selector.content="";
*/
_EsdDynamicTransformationScriptNavBlock.selector.activate=".navBlock"; //通畅激活的采用class因为会激活多个
/*	alert('_EsdDynamicTransformationScriptNavBlock.selector.top: ' + $(_EsdDynamicTransformationScriptNavBlock.selector.top).html() + '\n' + 
'_EsdDynamicTransformationScriptNavBlock.selector.footer: ' + $(_EsdDynamicTransformationScriptNavBlock.selector.footer).html() + '\n' + 
'_EsdDynamicTransformationScriptNavBlock.selector.main: ' + $(_EsdDynamicTransformationScriptNavBlock.selector.main).html() + '\n' + 
'_EsdDynamicTransformationScriptNavBlock.selector.left: ' + $(_EsdDynamicTransformationScriptNavBlock.selector.left).html() + '\n' + 
'_EsdDynamicTransformationScriptNavBlock.selector.right: ' + $(_EsdDynamicTransformationScriptNavBlock.selector.right).html() + '\n' + 
'_EsdDynamicTransformationScriptNavBlock.selector.content: ' + $(_EsdDynamicTransformationScriptNavBlock.selector.content).html() + '\n' + 
'_EsdDynamicTransformationScriptNavBlock.selector.activate: ' + $(_EsdDynamicTransformationScriptNavBlock.selector.activate).html());
*/
//功能变量声明区
_EsdDynamicTransformationScriptNavBlock.debug=true;

//嵌入了mousetrap代码，如需升级版本删除下载新版本后单独加载即可
/* mousetrap v1.6.0 craig.is/killing/mice */
(function(r,t,g){function u(a,b,h){a.addEventListener?a.addEventListener(b,h,!1):a.attachEvent("on"+b,h)}function y(a){if("keypress"==a.type){var b=String.fromCharCode(a.which);a.shiftKey||(b=b.toLowerCase());return b}return k[a.which]?k[a.which]:p[a.which]?p[a.which]:String.fromCharCode(a.which).toLowerCase()}function D(a){var b=[];a.shiftKey&&b.push("shift");a.altKey&&b.push("alt");a.ctrlKey&&b.push("ctrl");a.metaKey&&b.push("meta");return b}function v(a){return"shift"==a||"ctrl"==a||"alt"==a||
"meta"==a}function z(a,b){var h,c,e,g=[];h=a;"+"===h?h=["+"]:(h=h.replace(/\+{2}/g,"+plus"),h=h.split("+"));for(e=0;e<h.length;++e)c=h[e],A[c]&&(c=A[c]),b&&"keypress"!=b&&B[c]&&(c=B[c],g.push("shift")),v(c)&&g.push(c);h=c;e=b;if(!e){if(!n){n={};for(var l in k)95<l&&112>l||k.hasOwnProperty(l)&&(n[k[l]]=l)}e=n[h]?"keydown":"keypress"}"keypress"==e&&g.length&&(e="keydown");return{key:c,modifiers:g,action:e}}function C(a,b){return null===a||a===t?!1:a===b?!0:C(a.parentNode,b)}function c(a){function b(a){a=
a||{};var b=!1,m;for(m in n)a[m]?b=!0:n[m]=0;b||(w=!1)}function h(a,b,m,f,c,h){var g,e,k=[],l=m.type;if(!d._callbacks[a])return[];"keyup"==l&&v(a)&&(b=[a]);for(g=0;g<d._callbacks[a].length;++g)if(e=d._callbacks[a][g],(f||!e.seq||n[e.seq]==e.level)&&l==e.action){var q;(q="keypress"==l&&!m.metaKey&&!m.ctrlKey)||(q=e.modifiers,q=b.sort().join(",")===q.sort().join(","));q&&(q=f&&e.seq==f&&e.level==h,(!f&&e.combo==c||q)&&d._callbacks[a].splice(g,1),k.push(e))}return k}function g(a,b,m,f){d.stopCallback(b,
b.target||b.srcElement,m,f)||!1!==a(b,m)||(b.preventDefault?b.preventDefault():b.returnValue=!1,b.stopPropagation?b.stopPropagation():b.cancelBubble=!0)}function e(a){"number"!==typeof a.which&&(a.which=a.keyCode);var b=y(a);b&&("keyup"==a.type&&x===b?x=!1:d.handleKey(b,D(a),a))}function k(a,c,m,f){function e(c){return function(){w=c;++n[a];clearTimeout(r);r=setTimeout(b,1E3)}}function h(c){g(m,c,a);"keyup"!==f&&(x=y(c));setTimeout(b,10)}for(var d=n[a]=0;d<c.length;++d){var p=d+1===c.length?h:e(f||
z(c[d+1]).action);l(c[d],p,f,a,d)}}function l(a,b,c,f,e){d._directMap[a+":"+c]=b;a=a.replace(/\s+/g," ");var g=a.split(" ");1<g.length?k(a,g,b,c):(c=z(a,c),d._callbacks[c.key]=d._callbacks[c.key]||[],h(c.key,c.modifiers,{type:c.action},f,a,e),d._callbacks[c.key][f?"unshift":"push"]({callback:b,modifiers:c.modifiers,action:c.action,seq:f,level:e,combo:a}))}var d=this;a=a||t;if(!(d instanceof c))return new c(a);d.target=a;d._callbacks={};d._directMap={};var n={},r,x=!1,p=!1,w=!1;d._handleKey=function(a,
c,e){var f=h(a,c,e),d;c={};var k=0,l=!1;for(d=0;d<f.length;++d)f[d].seq&&(k=Math.max(k,f[d].level));for(d=0;d<f.length;++d)f[d].seq?f[d].level==k&&(l=!0,c[f[d].seq]=1,g(f[d].callback,e,f[d].combo,f[d].seq)):l||g(f[d].callback,e,f[d].combo);f="keypress"==e.type&&p;e.type!=w||v(a)||f||b(c);p=l&&"keydown"==e.type};d._bindMultiple=function(a,b,c){for(var d=0;d<a.length;++d)l(a[d],b,c)};u(a,"keypress",e);u(a,"keydown",e);u(a,"keyup",e)}if(r){var k={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",
18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},p={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},B={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},A={option:"alt",command:"meta","return":"enter",
escape:"esc",plus:"+",mod:/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"meta":"ctrl"},n;for(g=1;20>g;++g)k[111+g]="f"+g;for(g=0;9>=g;++g)k[g+96]=g;c.prototype.bind=function(a,b,c){a=a instanceof Array?a:[a];this._bindMultiple.call(this,a,b,c);return this};c.prototype.unbind=function(a,b){return this.bind.call(this,a,function(){},b)};c.prototype.trigger=function(a,b){if(this._directMap[a+":"+b])this._directMap[a+":"+b]({},a);return this};c.prototype.reset=function(){this._callbacks={};this._directMap=
{};return this};c.prototype.stopCallback=function(a,b){return-1<(" "+b.className+" ").indexOf(" mousetrap ")||C(b,this.target)?!1:"INPUT"==b.tagName||"SELECT"==b.tagName||"TEXTAREA"==b.tagName||b.isContentEditable};c.prototype.handleKey=function(){return this._handleKey.apply(this,arguments)};c.addKeycodes=function(a){for(var b in a)a.hasOwnProperty(b)&&(k[b]=a[b]);n=null};c.init=function(){var a=c(t),b;for(b in a)"_"!==b.charAt(0)&&(c[b]=function(b){return function(){return a[b].apply(a,arguments)}}(b))};
c.init();r.Mousetrap=c;"undefined"!==typeof module&&module.exports&&(module.exports=c);"function"===typeof define&&define.amd&&define(function(){return c})}})("undefined"!==typeof window?window:null,"undefined"!==typeof window?document:null);

//嵌入了mousetrap代码结束

//主要代码区域
$(document).ready(function () {
	if(_EsdDynamicTransformationScriptNavBlock.debug==true){
		//如果开启调试模式，添加调试绘制矩形边线
		$("body").append("<div id='show_top' class='lineshow'></div>");
		$("body").append("<div id='show_bottom' class='lineshow'></div>");
		$("body").append("<div id='show_left' class='lineshow'></div>");
		$("body").append("<div id='show_right' class='lineshow'></div>");
		$(".lineshow").css({"display":"none"});
	}
	
	//初始化轮训所有需要跳转的块
	$(_EsdDynamicTransformationScriptNavBlock.selector.activate).each(function (index, ehx) {
		_EsdDynamicTransformationScriptNavBlock.maxIndex++;
	});

	//前进
	Mousetrap.bind(_EsdDynamicTransformationScriptNavBlock.key.down, function() {//down
		if (_EsdDynamicTransformationScriptNavBlock.sIndex < _EsdDynamicTransformationScriptNavBlock.maxIndex) {
			_EsdDynamicTransformationScriptNavBlock.sIndex++;
			_EsdDynamicTransformationScriptNavBlock.keyShowSelect(_EsdDynamicTransformationScriptNavBlock.sIndex);
		}else{
			sIndex=0;
		}
		return false;
	});
	//后退
	Mousetrap.bind(_EsdDynamicTransformationScriptNavBlock.key.up, function() {//up
		if (_EsdDynamicTransformationScriptNavBlock.sIndex > _EsdDynamicTransformationScriptNavBlock.minIndex) {
			_EsdDynamicTransformationScriptNavBlock.sIndex--;
			_EsdDynamicTransformationScriptNavBlock.keyShowSelect(_EsdDynamicTransformationScriptNavBlock.sIndex);
		}else{
			_EsdDynamicTransformationScriptNavBlock.sIndex=0;
		}
		return false;
	});
	
	/**
	_EsdDynamicTransformationScriptNavBlock.key.top="alt+ctrl+shift+T"//(top)
	_EsdDynamicTransformationScriptNavBlock.key.footer="alt+ctrl+shift+F"//(footer)
	_EsdDynamicTransformationScriptNavBlock.key.main="alt+ctrl+shift+M"//(main)
	_EsdDynamicTransformationScriptNavBlock.key.left="alt+ctrl+shift+L"//(left)
	_EsdDynamicTransformationScriptNavBlock.key.right="alt+ctrl+shift+R"//(right)
	_EsdDynamicTransformationScriptNavBlock.key.content="alt+ctrl+shift+C"//(content)
	_EsdDynamicTransformationScriptNavBlock.key.down="alt+ctrl+shift+D"//(down)
	_EsdDynamicTransformationScriptNavBlock.key.up="alt+ctrl+shift+U"//(up);
	
	_EsdDynamicTransformationScriptNavBlock.selector.top="#header";
	_EsdDynamicTransformationScriptNavBlock.selector.footer="#footer";
	_EsdDynamicTransformationScriptNavBlock.selector.main="#main";
	_EsdDynamicTransformationScriptNavBlock.selector.left="#left";
	_EsdDynamicTransformationScriptNavBlock.selector.right="#right";
	_EsdDynamicTransformationScriptNavBlock.selector.content="#content";
	_EsdDynamicTransformationScriptNavBlock.selector.activate=".navBlock"; //通畅激活的采用class因为会激活多个
	**/
	
	//快捷键功能区域
	//跳转到头部
	Mousetrap.bind(_EsdDynamicTransformationScriptNavBlock.key.top, function() {
		_EsdDynamicTransformationScriptNavBlock.keySelectScroll(_EsdDynamicTransformationScriptNavBlock.selector.top);
		return false;
	});
	//跳转到底部
	Mousetrap.bind(_EsdDynamicTransformationScriptNavBlock.key.footer, function() {
		_EsdDynamicTransformationScriptNavBlock.keySelectScroll(_EsdDynamicTransformationScriptNavBlock.selector.footer);
		return false;
	});
	//跳转到主要区域
	Mousetrap.bind(_EsdDynamicTransformationScriptNavBlock.key.main, function() {
		_EsdDynamicTransformationScriptNavBlock.keySelectScroll(_EsdDynamicTransformationScriptNavBlock.selector.main);
		return false;
	});
	//跳转到左区域
	Mousetrap.bind(_EsdDynamicTransformationScriptNavBlock.key.left, function() {
		_EsdDynamicTransformationScriptNavBlock.keySelectScroll(_EsdDynamicTransformationScriptNavBlock.selector.left);
		return false;
	});
	//跳转到右区域
	Mousetrap.bind(_EsdDynamicTransformationScriptNavBlock.key.right, function() {
		_EsdDynamicTransformationScriptNavBlock.keySelectScroll(_EsdDynamicTransformationScriptNavBlock.selector.right);
		return false;
	});
	//跳转到正文区域
	Mousetrap.bind(_EsdDynamicTransformationScriptNavBlock.key.content, function() {
		_EsdDynamicTransformationScriptNavBlock.keySelectScroll(_EsdDynamicTransformationScriptNavBlock.selector.content);
		return false;
	});

});

_EsdDynamicTransformationScriptNavBlock.debugView=function (e){
	if(_EsdDynamicTransformationScriptNavBlock.debug==true){
		var x=$(e).offset();
		var w=parseInt($(e).css("width"));;
		var h=parseInt($(e).css("height"));
		$("#show_top").css({"z-index":"9999","border": "red 2px solid","position": "absolute","top":x.top,"left":x.left,"width":w,"height":"0px"});
		$("#show_bottom").css({"z-index":"9999","border": "red 2px solid","position": "absolute","top":x.top+h,"left":x.left,"width":w,"height":"0px"});
		$("#show_left").css({"z-index":"9999","border": "red 2px solid","position": "absolute","top":x.top,"left":x.left,"width":"0px","height":h});
		$("#show_right").css({"z-index":"9999","border": "red 2px solid","position": "absolute","top":x.top,"left":x.left+w,"width":"0px","height":h});
		$("html,body").animate({scrollTop : $("#show_top").offset().top}, 200);
		$(".lineshow").css({"display":"block"});
	}
}

//特定区域跳转
_EsdDynamicTransformationScriptNavBlock.keySelectScroll=function(id) {
	_EsdDynamicTransformationScriptNavBlock.debugView(id);
	$(id).find("a").each(function (index) {
		if (index == 0) {
			$(this).focus();
		}
	});
}
//导航跳转
_EsdDynamicTransformationScriptNavBlock.keyShowSelect=function(i) {
	$(_EsdDynamicTransformationScriptNavBlock.selector.activate).each(function (index, el) {
		if (i == index) {
			_EsdDynamicTransformationScriptNavBlock.debugView(el);
			$(el).find("a").each(function (i,e) {
				if (i == 0) {
					$(e).focus();
				}
			});

		}
	});
}
